package com.punai.standard.controller;

import com.punai.common.core.controller.BaseController;
import com.punai.common.core.page.TableDataInfo;
import com.punai.standard.domain.StaGxFeatureConsume;
import com.punai.standard.domain.vo.StaGxFeatureConsumeVo;
import com.punai.standard.service.IStaGxFeatureConsumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 标准费用项特征描述设置耗量Controller
 * 
 * @author zhx
 * @date 2023-05-15
 */
@RestController
@RequestMapping("/sta/staGxFeatureConsume")
public class StaGxFeatureConsumeController extends BaseController
{
    @Autowired
    private IStaGxFeatureConsumeService staGxFeatureConsumeService;

    @GetMapping("/getFeatureDescribe")
    public TableDataInfo getFeatureDescribe(StaGxFeatureConsume staGxFeatureConsume)
    {
        List<StaGxFeatureConsumeVo> list = staGxFeatureConsumeService.getFeatureDescribe(staGxFeatureConsume);
        return getDataTable(list);
    }
}
